#include "star.h"


Star::Star(void)
{
	this->x = 0;
	this->y = 0;
	this->id = 0;
	this->StarCol = NULL_COL ;  
}



 Star::Star(int x,int y,int id ,enum My_Col StarCol )
{
	this->x = x;
	this->y = y;
	this->id = id;
	this->StarCol = StarCol ;
}

 void Star::setvalue(int x,int y,int id ,enum My_Col StarCol )
 {
	 this->x = x;
	 this->y = y;
	 this->id = id;
	this->StarCol = StarCol ;

 }

 void Star::  ChangePos(int x ,int y)
 {
	 this->x = x;
	this->y = y;

 }
void Star:: destroy ()
 {
	this->x = 0;
	this->y = 0;
	this->id = 0;
	this->StarCol = NULL_COL ;
 }